import tkinter
X = int(input())
Y = int(input())
N = int(input())
if N == 0 and X >= 0 and X <= 500 and Y >= 0 and Y <= 500:
   pass
else:
   if N > 0 and 0 * N + X >= 0 and 0 * N + Y >= 0 and 20 * N + X <= 500 and 20 * N + Y <= 500:
       pass
   else:
       if N < 0 and 20 * N + X >= 0 and 20 * N + Y >= 0 and 0 * N + X <= 500 and 0 * N + Y <= 500:
           pass
       else:
           print('Размер фигуры слишком большой!')
           exit()
master = tkinter.Tk()
canvas = tkinter.Canvas(master, bg='white', height=500, width=500)
canvas.create_polygon((0*N+X,0*N+Y),(10*N+X,0*N+Y),(10*N+X,10*N+Y),(20*N+X,10*N+Y),(20*N+X,30*N+Y), (10*N+X,30*N+Y), (10*N+X,20*N+Y), (0*N+X,20*N+Y), fill = 'blue', outline="blue")
canvas.pack()
master.mainloop()































































































